package br.ufrj.viewmanager;

import java.awt.BorderLayout;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;

import javax.swing.WindowConstants;
import javax.swing.SwingUtilities;

import com.cloudgarden.layout.AnchorConstraint;
import com.cloudgarden.layout.AnchorLayout;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class CadastroPanel extends javax.swing.JFrame {
	private JPanel jPanel1;
	private JLabel labelCPF;
	private JButton botaoFinalizar;
	private JTextField textoEMail;
	private JLabel labelEMail;
	private JTextField textoResposta;
	private JLabel labelResposta;
	private JTextField textoPergunta;
	private JLabel labelPergunta;
	private JTextField textoSenha2;
	private JLabel labelSenha2;
	private JTextField textoSenha;
	private JLabel labelSenha;
	private JTextField jTextField2;
	private JLabel labelUser;
	private JTextField jTextField1;
	private JTextField textoNome;
	private JLabel labelNome;

	/**
	* Auto-generated main method to display this JFrame
	*/
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				CadastroPanel inst = new CadastroPanel();
				inst.setLocationRelativeTo(null);
				inst.setVisible(true);
			}
		});
	}
	
	public CadastroPanel() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			{
				jPanel1 = new JPanel();
				getContentPane().add(jPanel1, BorderLayout.CENTER);
				AnchorLayout jPanel1Layout = new AnchorLayout();
				jPanel1.setLayout(jPanel1Layout);
				jPanel1.setBackground(new java.awt.Color(169,214,176));
				jPanel1.setPreferredSize(new java.awt.Dimension(392, 303));
				{
					botaoFinalizar = new JButton();
					jPanel1.add(botaoFinalizar, new AnchorConstraint(881, 623, 960, 389, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL));
					botaoFinalizar.setText("Finalizar");
					botaoFinalizar.setPreferredSize(new java.awt.Dimension(92, 21));
				}
				{
					labelEMail = new JLabel();
					jPanel1.add(labelEMail, new AnchorConstraint(742, 164, 795, 31, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL));
					labelEMail.setText("e-mail: ");
					labelEMail.setPreferredSize(new java.awt.Dimension(52, 14));
				}
				{
					labelResposta = new JLabel();
					jPanel1.add(labelResposta, new AnchorConstraint(644, 195, 697, 31, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL));
					labelResposta.setText("Resposta: ");
					labelResposta.setPreferredSize(new java.awt.Dimension(64, 14));
				}
				{
					labelPergunta = new JLabel();
					jPanel1.add(labelPergunta, new AnchorConstraint(546, 297, 599, 31, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL));
					labelPergunta.setText("Pergunta Secreta:");
					labelPergunta.setPreferredSize(new java.awt.Dimension(104, 14));
				}
				{
					labelSenha = new JLabel();
					jPanel1.add(labelSenha, new AnchorConstraint(351, 164, 404, 31, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL));
					labelSenha.setText("Senha: ");
					labelSenha.setPreferredSize(new java.awt.Dimension(52, 14));
				}
				{
					labelUser = new JLabel();
					jPanel1.add(labelUser, new AnchorConstraint(253, 195, 306, 31, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL));
					labelUser.setText("Username:");
					labelUser.setPreferredSize(new java.awt.Dimension(64, 14));
				}
				{
					labelCPF = new JLabel();
					jPanel1.add(labelCPF, new AnchorConstraint(156, 164, 208, 31, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL));
					labelCPF.setText("CPF:");
					labelCPF.setPreferredSize(new java.awt.Dimension(52, 14));
				}
				{
					textoNome = new JTextField();
					jPanel1.add(textoNome, new AnchorConstraint(46, 674, 122, 297, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL));
					textoNome.setPreferredSize(new java.awt.Dimension(148, 20));
				}
				{
					labelNome = new JLabel();
					jPanel1.add(labelNome, new AnchorConstraint(58, 164, 110, 31, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL));
					labelNome.setText("Nome:");
					labelNome.setPreferredSize(new java.awt.Dimension(52, 14));
				}
				{
					jTextField1 = new JTextField();
					jPanel1.add(jTextField1, new AnchorConstraint(144, 580, 219, 297, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL));
					jTextField1.setPreferredSize(new java.awt.Dimension(111, 20));
				}
				{
					jTextField2 = new JTextField();
					jPanel1.add(jTextField2, new AnchorConstraint(242, 580, 317, 297, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL));
					jTextField2.setPreferredSize(new java.awt.Dimension(111, 20));
				}
				{
					textoSenha = new JTextField();
					jPanel1.add(textoSenha, new AnchorConstraint(340, 580, 415, 297, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL));
					textoSenha.setPreferredSize(new java.awt.Dimension(111, 20));
				}
				{
					labelSenha2 = new JLabel();
					jPanel1.add(labelSenha2, new AnchorConstraint(449, 164, 501, 31, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL));
					labelSenha2.setText("Senha: ");
					labelSenha2.setPreferredSize(new java.awt.Dimension(52, 14));
				}
				{
					textoSenha2 = new JTextField();
					jPanel1.add(textoSenha2, new AnchorConstraint(437, 580, 513, 297, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL));
					textoSenha2.setPreferredSize(new java.awt.Dimension(111, 20));
				}
				{
					textoPergunta = new JTextField();
					jPanel1.add(textoPergunta, new AnchorConstraint(535, 674, 610, 297, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL));
					textoPergunta.setPreferredSize(new java.awt.Dimension(148,20));
				}
				{
					textoResposta = new JTextField();
					jPanel1.add(textoResposta, new AnchorConstraint(633, 674, 708, 297, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL));
					textoResposta.setPreferredSize(new java.awt.Dimension(148,20));
				}
				{
					textoEMail = new JTextField();
					jPanel1.add(textoEMail, new AnchorConstraint(731, 674, 806, 297, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL, AnchorConstraint.ANCHOR_REL));
					textoEMail.setPreferredSize(new java.awt.Dimension(148,20));
				}
			}
			pack();
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
